import Vue from "vue";
import Vuex from "vuex";
//1 导入
import showModal from "./showModal";
import loginStatus from "./loginStatus";
import showToast from "./showToast";
import userInfo from "./userInfo";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {},
  getters: {},
  mutations: {},
  actions: {},
  modules: {
    // 2导入模块名称
    showModal,
    loginStatus,
    showToast,
    userInfo,
  },
});
